home *** CD-ROM | disk | FTP | other *** search
/ ftp.cs.arizona.edu / ftp.cs.arizona.edu.tar / ftp.cs.arizona.edu / icon / newsgrp / group00b.txt / 000091_icon-group-sender_Mon Oct 23 16:56:18 2000.msg < prev    next >
Internet Message Format  |  2001-01-03  |  1KB

  1. Return-Path: <icon-group-sender>
  2. Received: (from root@localhost)
  3.     by baskerville.CS.Arizona.EDU (8.11.1/8.11.1) id e9NNtnY04985
  4.     for icon-group-addresses; Mon, 23 Oct 2000 16:55:49 -0700 (MST)
  5. Message-Id: <200010232355.e9NNtnY04985@baskerville.CS.Arizona.EDU>
  6. From: Chris.D.Tenaglia@jci.com
  7. Subject: Re: Icon beginner
  8. To: kaurp@cs.ucdavis.edu
  9. Cc: icon-group@cs.arizona.edu
  10. Date: Mon, 23 Oct 2000 14:59:49 -0500
  11. X-MIMETrack: Serialize by Router on jwimkrs1.na.jci.com/NA/Johnson_Controls(Release 5.0.4
  12.  |June 8, 2000) at 10/23/2000 03:20:17 PM
  13. Errors-To: icon-group-errors@cs.arizona.edu
  14. Status: RO
  15. Content-Length: 642
  16.  
  17.  
  18. I like simple things like...
  19.  
  20. procedure despace(str)
  21.   new := ""
  22.   every byte := !string do if byte ~== " " then new ||:= byte
  23.   return new
  24.   end
  25.  
  26. Chris Tenaglia, tech analyst, jci
  27.  
  28.  
  29.  
  30.  
  31.  
  32. kaurp@cs.ucdavis.edu on 10/23/2000 01:56:42 PM
  33.  
  34. To:   icon-group@CS.Arizona.EDU
  35. cc:
  36. bcc:
  37.  
  38. Subject:  Icon beginner
  39.  
  40.  
  41. Hi,
  42.   I'm just learning icon and I'm stumped with a particular problem.  I'm
  43. suppose to delete all occurrences of a space from a sentence, i.e. "Hi
  44. there" should become "Hithere".  Any ideas of how I should approach this
  45. problem.  I tried using the built-in delete proc. but it wasn't working.
  46. I'd appreciate any help, thanks!
  47. -Cos
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.